import http from "@/utils/http";
const prefixUrl = {
  query: "/analysis/withdraw-rule/info",
  create: "/analysis/withdraw-rule/create",
  update: "/analysis/withdraw-rule/update",
};
export default {
  role: {
    query: "POST:" + prefixUrl.query,
    create: "POST:" + prefixUrl.create,
    update: "POST:" + prefixUrl.update,
  },
  query(params = {}) {
    return http.post(prefixUrl.query, params);
  },
  create(params = {}) {
    return http.post(prefixUrl.create, params);
  },
  update(params = {}) {
    return http.post(prefixUrl.update, params);
  },
};
